<template>
	<view class="indexBig">
		<view class="top" @click="goToPage('allOrder')">
			<u-icon name="arrow-down" size="36"></u-icon>
			<text>申请成功</text>
		</view>
		<view class="info">
			<u-icon name="checkmark-circle-fill" size="120" color="#7CACF1"></u-icon>
			<view class="">恭喜您提交成功</view>
			<!-- <view class="">我们会在14：00之前为您处理完成，餐费会自动到您的钱包，下次可直接抵扣使用。用户端—我的—钱包</view> -->
		</view>
	</view>
</template>

<script>
	import CommenHeader from '@/components/header/header.vue'
	export default {
		components: {
			CommenHeader
		},
		methods: {
			goToPage(type) {
				let url;
				switch (type) {
					case "allOrder":
						url = './allOrder';
						break;
				}
				uni.redirectTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.indexBig {
		min-height: 100vh;
		background: linear-gradient(0.45deg, #F5F5F5 6.52%, #FF8739 58.65%, #FB690F 98.93%);
		background-size: 100vw 466rpx;
		background-repeat: no-repeat;
		background-color: #f5f5f5;
		padding: 40rpx 20rpx;
		padding-bottom: 150rpx;

		.top {
			position: relative;

			image {
				width: 40rpx;
				height: 40rpx;
				transform: rotate(90deg);
			}

			text {
				color: #fff;
				width: 100%;
				position: absolute;
				left: 0;
				top: 0;
				text-align: center;
				font-size: 32rpx;
				font-weight: bold;
			}
		}

		.info {
			padding: 80rpx 20rpx;
			margin: 40rpx 0;
			background-color: #fff;
			border-radius: 20rpx;
			@include flexs();
			flex-direction: column;
			font-size: 32rpx;
			line-height: 2;

			image {
				width: 120rpx;
				height: 120rpx;
				margin: 0 auto 30rpx auto;
			}

			>view:nth-child(3) {
				font-size: 28rpx;
				color: rgba(0, 0, 0, 0.55);
			}
		}
	}

	
</style>